CREATE XML SCHEMA COLLECTION SCH_VENDA
AS
N'<?xml version="1.0"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:element name="Venda">
		<xs:complexType>
			<xs:sequence>
				<xs:element maxOccurs="unbounded" name="Cliente">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Codigo" type="xs:int" />
							<xs:element name="Nome" type="xs:string" />
						</xs:sequence>
						<xs:attribute name="idioma" type="xs:string" use="required" />
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>'


